if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_NhomHang_GetByID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_NhomHang_GetByID]
GO

CREATE PROCEDURE [sp_NhomHang_GetByID]
	@id		int
AS
BEGIN
	SELECT	ID,Ten,Ma_nganh_hang,Thue,Chiet_khau,Ghi_chu,Ngay_cap_nhat_cuoi 
		FROM NhomHang 
		WHERE ID=@id
END
